-- GENERATED SPELL FOR [Bladespire Sober Defender] --


function spell0_21975(pUnit, Event) --@Cleave,n/a--
pUnit:FullCastSpellOnTarget(15496,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_21975', 548, 1)
end

function Sorts_21975(pUnit, Event)
local choix_sorts_21975 = math.random(0, 0)
if choix_sorts_21975 == 0 then
pUnit:RegisterEvent('spell0_21975', 1, 1)
end
end

function mob21975_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_21975', math.random(1500, 3000), 1)
end

function mob21975_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21975_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21975_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(21975, 1, 'mob21975_Action')
RegisterUnitEvent(21975, 2, 'mob21975_Leave')
RegisterUnitEvent(21975, 3, 'mob21975_Kill')
RegisterUnitEvent(21975, 4, 'mob21975_Die')
